:root {
	--totalWid: 100vw;
	--themeColor: #00bdff;
}

html,
body {
	width: var(--totalWid);
	overflow-x: hidden;
}

/* 头部 */
#header {
	width: 100%;
	height: 66px;
}
header {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 20px;
	width: 100%;
	height: 66px;
	background-color: #ffffff;
	border-bottom: 1px solid #ddd;
	/* 层级 */
	z-index: 40;
	min-width: 1200px;

}

header a {
	width: 138px;
	height: 64px;
	display: block;
}

header a h1 {
	height: 64px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}

header ul li {
	height: 66px;
	line-height: 66px;
	margin: 10px;
}

header li.active {
	border-bottom: 2px solid #00bdff;
	color: #00bdff;
	font-weight: bold;
}
header ul li a{
	text-align: center;
	display: block;
	width: 60px;
	height: 66px;
	line-height: 64px;
	color:#828282;
}


header li.active {

	border-bottom: 2px solid #00bdff;
}
header li.active a{
	color:#00bdff;
}
header div span {
	display: inline-block;
	padding: 5px 8px;
	border-radius: 15px;
	font-size: 12px;
}

header div span:first-child {
	border: 1px solid #363636;
	color: #363636;
}

header div span:last-child {
	background-color: #ed510a;
	border: 1px solid #ed510a;
	margin-right: 20px;
}

/* 主体 */
main {
	margin: 0;
	padding: 0;
	height: 1556px;
}
/* API分类区 */
#apiCate {
	width: 100%;
	height: 280px;
}
#apiCate  h2 {
	font-size: 22px;
	margin-bottom: 20px;
	margin-top: 50px;
}

#apiCate  ul {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
}
#apiCate div ul li{
	font-size: 12px;
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 8px 16px;
	color:#666;
	border-radius: 10px;
	border: 1px solid #c9c9c9;
}

#apiCate div div{
	margin-top: 60px;
}
#apiCate div div input{
	border-radius: 30px;
	background-color: #f4f4f4;
	border: none;
	outline: none;
	margin-left: 20px;
	box-sizing: border-box;
	padding: 2px 3px;
	color:rgb(164, 162, 162);
}

#apiCate div ul li.active{
	color: var(--themeColor);
	border: 1px solid var(--themeColor);
}

/* 图片区 */
#apiCards{
	width: 100%;
	height: 1133px;
}
#apiCardsList{
	display: flex;
	flex-wrap: wrap;

}
#apiCardsList li{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-right: 10px;
	margin-bottom: 10px;
	width: 223px;
	height: 270px;
	border: 1px solid rgb(233, 233, 233);
	overflow: hidden;
}
#apiCardsList li p:nth-child(3){
	line-height: 45px;
	font-size: 15px;
	/* color:rgb(120, 120, 120); */
}
#apiCardsList li img{
	margin-bottom: 15px;
	/* color:#29c287; */
}
#apiCardsList li span{
	top:10px;
	left:10px;
	padding:5px 6px;
	box-sizing: border-box;
	background-color: #e7ffff;
	color: #00bdff;
}
#apiCardsList li:hover{
	box-shadow: 5px 8px 13px rgb(165, 165, 165);
}
#apiCardsList li a{
	width: 190px;
	height: 30px;
	background-color:#00bdff ;
	color: #fff;
	text-align: center;
	line-height: 30px;
	bottom: -40px;
	transition: all 0.5s;
	
}
#apiCardsList li:hover a{
	bottom:20px;
}

/* 分页器 */
#pagination ul {
	min-width: 1200px;

	display: flex;
	justify-content: center;
}
#pagination ul li{
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
	margin-right: 10px;
	cursor:pointer;
	text-align: center;
	font-size: 14px;
	color:black;

}
#pagination ul li.active{
	color:#fff;
	background-color: var(--themeColor);
}
#pagination ul li:hover{
	cursor: pointer;
}



/* 尾部 */
footer {
	width: 100%;
	height: 330px;
}
/* 左边列表 */
footer .footLeft {
	width: 720px;
	height: 330px;
}
footer .footLeft-top {
	width: 720px;
	height: 202px;
	margin-top: 50px;
}
footer .footLeft dl {
	width: 85px;
	height: 202px;
}
footer .footLeft-top dl dt {
	font-size: 13px;
	font-weight: bold;
	color: rgb(54, 54, 54);
	margin-bottom: 30px;
}
footer .footLeft-top dl dd {
	font-size: 9px;
	color: rgb(120, 120, 120);
	margin-top: 15px;
}

/* 左下logo文字 */
footer .footLeft-bottom {
	margin-top: 30px;
	/* background-color: rgb(114, 171, 250); */
	height: 20px;
	color: rgb(120, 120, 120);
}
footer .footLeft-bottom img {
	margin-right: 10px;
}
footer .footLeft-bottom span {
	line-height: 20px;
}

/* 右边二维码 */
.footRight {
	/* display: flex; */
	/* align-items: flex-end; */
	/* justify-content:flex-start; */
	width: 230px;
	height: 330px;
	/* background-color: rebeccapurple ; */
	flex-wrap: wrap;
	text-align: right;
}
.footRight img {
	width: 100px;
	height: 100px;
	margin: 20px 0 55px 0;
}
.footRight :first-child {
	color: rgb(54, 54, 54);
	/* display: inline-block; */
}
.footRight :nth-child(2) {
	color: rgb(120, 120, 120);
	margin: 15px 0;
	/* display: inline-block; */
}

/* 回到顶部 */
#goback img {
	width: 165px;
	height: 100px;
	position: fixed;
	bottom: 0;
	right: 0;
	/* 先隐藏 */
	/* opacity: 0; */
}

/* 模态框 */
#mask{
	position: fixed;
	top: 0;
	left:0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 20%);
	z-index: 70;
	display: none;
}
#loginModal{
	position: fixed;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	box-sizing: border-box;
	padding: 26px 20px;
	width: 400px;
	height: 550px;
	background-color: #fff;
}


/* 先将form表单隐藏 */
#loginModal form{
	display: none;
}

/* logo区 */
#loginModalLogo{
	margin: 0 auto;
	margin-bottom: 26px;
	width: 180px;
	height: 50px;
	background: url(../imgs/new-logo-white2.png) no-repeat;
}
/* tab区 */
#loginModalTab{
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	width: 100%;
	height: 40px;
}
#loginModalTab a{
	width: 160px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 16px;
	color:#555555;
}

#loginModalTab a.active{
	position: relative;
	color:var(--themeColor);
}
#loginModalTab a.active::after{
	position: absolute;
	bottom: 0;
	left:50%;
	transform: translate(-50%);
	display: block;
	content: "";
	width: 30%;
	height: 2px;
	background-color: var(--themeColor);
}
#loginModalTab i{
	width: 1px;
	height: 20px;
	background-color: #eeeeee;
}

/*  表单区  */
#loginUser {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
	
}
#loginUser input{
	outline: none;
	border:none;
	margin-left: 10px;
}

#loginUser i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 24px 4px;
}

#loginPwd {
	margin-bottom: 15px;
	line-height: 40px;
	border-bottom: 1px solid #e7e7e7;
}
#loginPwd input{
	outline: none;
	border:none;
	margin-left: 10px;
}

#loginPwd i {
	position: relative;
	top: 4px;
	display: inline-block;
	width: 20px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 55px 4px;
}

#forgetPwd {
	line-height: 50px;
}

#forgetPwd a {
	color: var(--themeColor);
	text-align: right;
}

#loginModal form [type="submit"] {
	width: 100%;
	height: 45px;
	line-height: 45px;
	text-align: center;
	background-color: var(--themeColor);
	color: #fff;
	font-size: 16px;
	border:2px solid var(--themeColor);
}

#numberModal p:last-child {
	line-height: 50px;
	font-size: 14px;
	color: #909090;
	text-align:center;
	margin-left: 120px;
	margin-top: 10px;
	font-size: 12px;
}

#numberModal p:last-child a {
	color: var(--themeColor);
	text-align: right;
	display: inline-block;
}
/* 账号登录框消失 */
/* #numberModal{
	display: none;
} */


/* 扫码登录 */
#QRModal{
	margin: 0 auto;
	width: 290px;
	height: 240px;
	border: 1px solid #e7e7e7;
}
#QRModal img{
	width: 104px;
	height: 107px;
	margin: 30px  93px;
}
#QRModal p{
	font-size: 12px;
	text-align: center;
	color:#555555;
	margin-bottom: 20px;
}

#Qrcode .QRtext{
	line-height: 50px;
	font-size: 14px;
	color: #909090;
	text-align:left;
	margin-left: 35px;
	font-size: 12px;
	
}

#Qrcode .QRtext a{
	color: var(--themeColor);
	text-align: left;
	display: inline-block;
}
/* 扫码登录框消失 */
/* #Qrcode{
	display: none;
} */